//
//  ViewController.m
//  SpreadViewDemo
//
//  Created by Tianlong on 2018/1/22.
//  Copyright © 2018年 Tianlong. All rights reserved.
//

#import "ViewController.h"

#import "QuizHeadScrollView.h"
#import "QuizSpreadHeadView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    QuizSpreadHeadView *head = [QuizSpreadHeadView spreadHeadInView:self.view contentRealHeight:1000 spreadMaxHeight:200];
    [self.view addSubview:head];
    [head mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.offset(0);
        make.right.offset(-0);
        make.top.offset(64);
        make.height.offset(86);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
